package com.ktjiaoyu.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName : UserServiceImpl
 * @Description :
 * @Author : Lzz
 * @Date: 2023/9/27 09:43:41
 */
@Service("userService")
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;

    @Override
    public void save() {
        userDao.save();
    }

    @Override
    public void delete() {
        System.out.println("删除用户！");
    }
}
